﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>流程抄送列表</title>
    <script type="text/javascript" src="../WF/Scripts/bootstrap/js/jquery.min.js"></script>
    <script src="../WF/Scripts/QueryString.js" type="text/javascript"></script>
    <script src="../WF/Scripts/config.js" type="text/javascript"></script>
    <script src="../WF/Comm/Gener.js" type="text/javascript"></script>
    <script type="text/javascript" language="javascript">
        //页面启动函数.
        var data = null;
        $(function () {

            var handler = new HttpHandler("BP.DOC.App_Page");
            var token = GetQueryString("Token");
            handler.AddPara('myToken', token);

            var data = handler.DoMethodReturnString("Port_Init");

            if (data.indexOf('err@') == 0) {
               // alert(data);
                $("#msg").html(data);
                return;
            }

            var webUser = new WebUser();
           // alert(webUser.No + "登录成功.");
            //return;

            var login = GetQueryString("Type");
            var isSkip = GetQueryString("IsSkip");
            if (isSkip == null)
                return;

            if (login == null || login == undefined) {
                window.location.href = "../Portal20/Home.htm?3=23";
                return;
            }


            window.location.href = "../WF/Admin/Portal/Default.htm?UserNo=" + webUser.No;
            //$("#Rows").html(row);
            return;
        });

    </script>
</head>
<body class="gray-bg">
    <form id="frm">
        <h3>正在打开请稍后...</h3>
        <div id="msg"></div>
    </form>
</body>
</html>
